<?r (1..5).each do |n| ?>
  <?r @n = n ?>
  #{render_template 'num.xhtml'}
<?r end ?>